Under the Merinids it received further madrasas, kasbahs and mosques in the early 14th century, and continued to thrive under the Wattasid dynasty. Dưới thời Merinid nó nhận được thêm các madrasa, kasbah và nhà thờ Hồi giáo đầu trong thế kỷ 14, và tiếp tục phát triển mạnh dưới triều đại Wattasid.